#include "network.h"

namespace engine
{
	NetworkServer* Network::CreateServer()
	{
		return new NetworkServer();
	}

	void Network::DestroyServer(NetworkServer* server)
	{
		SAFE_DELETE(server);
	}

	NetworkClient* Network::CreateClient()
	{
		return new NetworkClient();
	}

	void Network::DestroyClient(NetworkClient* client)
	{
		SAFE_DELETE(client);
	}
}